import { SaveType } from 'designer/DesignerType';
import { AbstractOperator } from './AbstractOperator';
import LocalOperator from './LocalOperator';
import ServerOperator from './ServerOperator';

const operatorMap: Record<SaveType, AbstractOperator> = {
  [SaveType.LOCAL]: new LocalOperator(),
  [SaveType.SERVER]: new ServerOperator(),
};

export default operatorMap;
